﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin/Admin.Master" Inherits="System.Web.Mvc.ViewPage<ShopOnline.Models.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <div class="w_container m10-tb  fl">
        <div class="w_container fl">
            <div class="titleheader bold fl">
                Administration Session
            </div>
            <div class="titleheader fr">
                Back to <a class="orange" href="/Admin/Index">Cpanel</a></div>
            <div class="w_container titleheader fl align-l">
                <div class="fl">
                    Cpanel |
                </div>
                <div class="orange fl">
                    Xóa sản phẩm
                </div>
            </div>
        </div>
       <div class="w_container m10-tb  fl">
            <div class="sub_container fl">
                <form method="post" enctype="multipart/form-data" id="formID" class="formular">
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Tên sản phẩm
                    </div>
                    <div class="input-item fl">
                       <%= Html.Encode(Model.productName) %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Sơ lược
                    </div>
                    <div class="input-item fl">
                       <%= Html.Encode(Model.description) %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Thông tin sản phẩm
                    </div>
                    <div class="input-item fl">
                       <%= Html.Encode(Model.information) %>
                    </div>
                </div>               
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Hình ảnh
                    </div>
                    <div class="input-item fl">
                       <img src="../../Content/Products/<%= Model.image %>" width="100px" height="100px" />
                    </div> 
                </div>                          
                </form>
            </div>
        </div>
    </div>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" class="ui-state-default ui-corner-all button fl" /> |
		    <%= Html.ActionLink("Back to List", "AdminListProduct", "Product", new { @class = "ui-state-default ui-corner-all button fl" })%>
        </p>
    <% } %>
</asp:Content>

